// store/index.ts
import { createPinia } from 'pinia';
import { useUserStore } from './user';
import { useLoginStore } from './login';
import { useAsideStore } from './aside';
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"

// 创建 Pinia 实例
export const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
// 导出各个 Store
export { useUserStore, useLoginStore, useAsideStore };
